package me.keiwu.pub.rpc;

import org.springframework.scheduling.annotation.Async;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * Created by kei on 03/11/2017.
 */
public interface LogDonateRpcPub {

    @Async
    @RequestMapping("/rpc/log/donate/step")
    void logDonateStep(@RequestParam("userId") Long userId,
                       @RequestParam("donateStep") Integer donateStep,
                       @RequestParam("logTime") Integer logTime);


    @RequestMapping("/rpc/log/donate/repair")
    void repair(@RequestParam("start") String start);
}
